home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ Network Server 1.xpl
< prev
next >
Wrap
Text File
|
2001-04-12
|
2KB
|
64 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="2"
"UIPATH 1"="Network\Server"
"UIPATH 2"="Network\Security\Server"
"NAME"="Server Options"
"VERSION"="1.36"
"OSVERSION"="010101"
"LANGUAGE"="VBScript"
"TEXT 1"="Hide this computer"
"TEXT 2"="Allow long share names"
"DESCRIPTION 1"="If you do not want that this computer can been seen on the network, activate the first option."
"DESCRIPTION 2"="The computer can still be reached and accessed, it's just no longer visible for other computers using the browser service."
"DESCRIPTION 3"=" "
"DESCRIPTION 4"="By default, Windows NT cannot use shares that contain more than 12 characters. By activating the second option, you can enable this."
"DESCRIPTION 5"="Please note that you need at least NT SP3 for this!!"
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Setting #2: MS KB Q169049"
sP2="HKLM\System\CurrentControlSet\Services\Rdr\Parameters\"
sV2="AllowLongShareName"
Sub Plugin_Initialize
If RegPathExists("HKLM\System\CurrentControlSet\Services\LanmanServer") then
i=RegReadValue("HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden")
if i=1 then
Call SetUIElement(1,true)
end if
end if
i=RegReadValue(sP2 & sV2)
if i=1 then SetUiElement 2,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
If GetUIElement(1)=true then
Call RegWriteValue("HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden",1,2)
else
Call RegWriteValue("HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters\Hidden",0,2)
end if
If GetUIElement(2)=true then
Call RegWriteValue(sp2 & sv2,"1",2)
else
Call RegWriteValue(sp2 & sv2,"0",2)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub